<div class="navbar">
  <div class="navbar-inner">
    <div class="left">
      <a href="#" class="link back">
        <i class="icon icon-back"></i>
        <span>返回汇总</span>
      </a>
    </div>
    <div class="center sliding">卡券列表</div>
    <div class="right">
      <a href="#" class="link icon-only open-panel"><i class="icon icon-bars-blue"></i></a>
    </div>
  </div>
</div>
<div class="pages">
  <div data-page="about" class="page">
    <div class="page-content">
        <div class="content-block-title">卡券列表</div>
        <div class="list-block">
            <ul>
                <% for card in card_list %>
                <li>
                  <a href="/wx/card/line?code=${card.code}" class="item-link">
                      <div class="item-content">
                      <div class="item-inner">
                        <div class="item-title">${card.code}</div>
                        <div class="item-after"><%if card.is_active %>已激活<% else %>未激活<% endif %></div>
                      </div>
                      </div>
                  </a>
                </li>
                <% endfor %>
            </ul>
            <!--<div class="list-block-label">List block label text goes here</div>-->
        </div>
    </div>
  </div>
</div>